<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<%@ page info="Generación de Reportes"
         import="java.util.Date"
         import="java.text.DateFormat"
         import="java.text.SimpleDateFormat"
         %>

<%

     DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");

%>
<html>
<!--
  Copyright 2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<head>
    <title> Generador de Reportes </title>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" media="screen">            </head>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/dhtmlgoodies_calendar/dhtmlgoodies_calendar.css?random=20051112" media="screen"></link>
<script type="text/javascript" src="<%=request.getContextPath()%>/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118"></script>

</head>

<body bgcolor="white">
<f:view>
    
    <%@ include file="/barra.jsp" %>
    
    <table width="1242" border="0">
    <tr>
    <td width="21%">
        <!-- Divisor del Contenido Principal -->
        <div id="siteName">                        </div>
        <div id="content"> 
            <div class="feature">
                <jsp:directive.include file="/welcomeJSF.jsp" />
            </div> 
        </div> 
        
    <!-- Fin del Contenido Principal -->                  </td>
    <td width="79%" align="left" valign="top">
        <h1>Reportes de Auditoría Solicitud Reserva</h1>
        <form action="<%=request.getContextPath()%>/servletReportes" target="main">
            <table width="292" align="left">
                <tr>
                    <td><font size=5 class="label">Fecha Desde</font></td>
                    <td><font size=5 class="label">
                            <input type="text" value=<%= dateFormat.format(new Date())%> readonly name="fechadesde">
                            <input type="hidden" value="12:00" readonly name="horadesde">
                            <input type="button" value="Cal" onclick="displayCalendarMio(this.form.fechadesde,this.form.horadesde,'dd/mm/yyyy hh:ii',this,true)">
                    </font></td>
                </tr>
                
                <tr>
                    <td><font size=5 class="label">Fecha Hasta</font></td>
                    <td><font size=5 class="label">
                            <input type="text" value=<%= dateFormat.format(new Date())%> readonly name="fechahasta">
                            <input type="hidden" value="12:00" readonly name="horahasta">
                            <input type="button" value="Cal" onclick="displayCalendarMio(this.form.fechahasta,this.form.horahasta,'dd/mm/yyyy hh:ii',this,true)">
                            
                    </font></td>
                </tr>
                <tr>
                  <td><font size=5 class="label">Destino</font></td>
                  <td><jsp:directive.include file="tipoReporte.jsp" /></td>
                </tr>
                <tr>
                  <td><input type="hidden" name="nombrereporte" value="rptAuditoriaSolicitudReserva"></td>
                  <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><input type=submit name=action value="Aceptar"></td>
                </tr>
            </table>
        </form>
        </center>
    </td>
    </tr>    
    </table>
    
    <%@ include file="/footer.jsp" %>            
</f:view>

</body>
</html>
